package com.party.core.service.copartner;

import com.party.common.paging.Page;
import com.party.core.model.copartner.CopartnerLevel;
import com.party.core.model.copartner.CopartnerLevelInput;
import com.party.core.model.copartner.CopartnerLevelOutput;
import com.party.core.service.IBaseService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Author: Administrator.
 * @Description: 目标与合伙人关联表(二级)
 * @Date:Created in 2018/10/11 0023 下午 15:41.
 */
public interface ICopartnerLevelService extends IBaseService<CopartnerLevel> {
    List<CopartnerLevel> getCopartnerLevelByMultiple(CopartnerLevel copartnerLevel);
    CopartnerLevel findByMemberId(String memberId);

    List<CopartnerLevelOutput> getJuniorPartners(CopartnerLevelInput copartnerLevelInput, Page page);

    Integer getJuniorPartnersTotal(CopartnerLevelInput copartnerLevelInput);

    Double getPromoteOrLowerToMoney(CopartnerLevelInput copartnerLevelInput);

    List<CopartnerLevelOutput> copartnerList(Map<String,Object> params, Page page);
}
